﻿@using DeliveryPlus.Web.Classes.Ext
@using DeliveryPlus.Web.DAL.Entities
@model DeliveryPlus.Web.DAL.Entities.Article

@{
    ViewBag.Title = Model.Title + " | Новости";
    Layout = "../Shared/Layout.cshtml";
}

<div class="page" id="page-articles">
    <div class="title">
        @Model.Title
    </div>
    <div class="article-content">
        @Html.Raw((Model.Content ?? "").Replace("\n","<br/>"))
    </div>
    <div class="article-date">
        @Model.PublicationDate.FormatDate()
    </div>
</div>
